package work.mediway.mdm.biz.vo.patient;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.google.gson.annotations.SerializedName;

import java.util.List;

import cn.hutool.core.collection.CollUtil;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author zhongyj <1126834403@qq.com><br/>
 * @date 2022/10/9
 */
@Data
public class RelPatientVO {

    @SerializedName("REPAT_HosPatientID")
    @JsonProperty("REPAT_HosPatientID")
    @ApiModelProperty(value = "医疗机构内部患者索引")
    private String hosPatientId;

    @SerializedName("BusinessFieldCode")
    @JsonProperty("BusinessFieldCode")
    @ApiModelProperty(value = "业务域")
    private String businessFieldCode;

    @SerializedName("REPAT_PatientID")
    @JsonProperty("REPAT_PatientID")
    @ApiModelProperty(value = "平台患者主索引")
    private String patPatientId;

    @SerializedName("REPAT_LinkID")
    @JsonProperty("REPAT_LinkID")
    @ApiModelProperty(value = "关联索引ID")
    private String linkPatientId;

    @SerializedName("UpdateDate")
    @JsonProperty("UpdateDate")
    @ApiModelProperty(value = "最后更新日期")
    private String lastUpdateDate;

    @SerializedName("UpdateTime")
    @JsonProperty("UpdateTime")
    @ApiModelProperty(value = "最后更新时间")
    private String lastUpdateTime;

    @SerializedName("PA_Patient")
    @JsonProperty("PA_Patient")
    private PaPatientVO paPatientVO;

    @SerializedName("PA_IdentifierList")
    @JsonProperty("PA_IdentifierList")
    private List<PaIdentifierVO> paIdentifierVOS = CollUtil.newArrayList();

    @SerializedName("PA_AddressList")
    @JsonProperty("PA_AddressList")
    private List<PaAddressVO> paAddressVOS = CollUtil.newArrayList();

}
